import request from '@/utils/request'

export function indexCount() {
  return request({
    url: '/statistics/count',
    method: 'get'
  })
}
export function indexList() {
  return request({
    url: '/user/count',
    method: 'get'
  })
}
export function indexData() {
  return request({
    url: '/statistics/userCountSeven',
    method: 'get'
  })
}

export function orderCount() {
  return request({
    url: '/statistics/orderCountSeven',
    method: 'get',
  })
}

// 获取企业信息信息
export function Wecont(params) {
  return request({
    url: '/wx/getJSSDK',
    method: 'get',
    params
  })
}
// 获取企业部门
export function Welist() {
  return request({
    url: '/wx/getDepartment',
    method: 'get'
  })
}
